package com.itheima.service;

import com.alibaba.dubbo.config.annotation.Service;
import service.UserService;

/**
 * ClassName: UserServiceImpl
 * Description:service实现类
 * date: 2019/11/18 16:05
 * Author Airson
 * Since JDK 1.8
 */
@Service
public class UserServiceImpl implements UserService {
    @Override
    public boolean login(String username, String password) {
        System.out.println("service_provide...u:"+username+" p:"+password);
        if ("admin".equals(username)&&"123".equals(password)){
            return true;
        }
        return false;
    }
}
